#include "stdafx.h"
#include "DropBoxDesc.h"
#include "InstanceTouch.h"
DECL_INSTANCE_TOUCH(ETouch_DropBoxDesc);

struct  DropBoxDescDefReflectionRegister
{
	DropBoxDescDefReflectionRegister()
	{
		REGISTER_REFLECTION_MEMBER(DropBoxDesc,m_iID,INVALID_ID).Editor_SetAsPrimaryKey();
		REGISTER_REFLECTION_MEMBER(DropBoxDesc,m_sDisplayName,std::string("DefaultName")).Editor_SetAsDisplayName();

		REGISTER_REFLECTION_MEMBER(DropBoxDesc,m_eItem1Type,eERewardItemType_NONE).Editor_SetAsEnumation<ERewardItemType>();
		REGISTER_REFLECTION_MEMBER(DropBoxDesc,m_iItem1IDOrValue,std::string("0")).Editor_SetAsRaw();
		REGISTER_REFLECTION_MEMBER(DropBoxDesc,m_eItem2Type,eERewardItemType_NONE).Editor_SetAsEnumation<ERewardItemType>();
		REGISTER_REFLECTION_MEMBER(DropBoxDesc,m_iItem2IDOrValue,std::string("0")).Editor_SetAsRaw();
		REGISTER_REFLECTION_MEMBER(DropBoxDesc,m_eItem3Type,eERewardItemType_NONE).Editor_SetAsEnumation<ERewardItemType>();
		REGISTER_REFLECTION_MEMBER(DropBoxDesc,m_iItem3IDOrValue,std::string("0")).Editor_SetAsRaw();
		REGISTER_REFLECTION_MEMBER(DropBoxDesc,m_eItem4Type,eERewardItemType_NONE).Editor_SetAsEnumation<ERewardItemType>();
		REGISTER_REFLECTION_MEMBER(DropBoxDesc,m_iItem4IDOrValue,std::string("0")).Editor_SetAsRaw();
		REGISTER_REFLECTION_MEMBER(DropBoxDesc,m_eItem5Type,eERewardItemType_NONE).Editor_SetAsEnumation<ERewardItemType>();
		REGISTER_REFLECTION_MEMBER(DropBoxDesc,m_iItem5IDOrValue,std::string("0")).Editor_SetAsRaw();
		REGISTER_REFLECTION_MEMBER(DropBoxDesc,m_eItem6Type,eERewardItemType_NONE).Editor_SetAsEnumation<ERewardItemType>();
		REGISTER_REFLECTION_MEMBER(DropBoxDesc,m_iItem6IDOrValue,std::string("0")).Editor_SetAsRaw();
		REGISTER_REFLECTION_MEMBER(DropBoxDesc,m_eItem7Type,eERewardItemType_NONE).Editor_SetAsEnumation<ERewardItemType>();
		REGISTER_REFLECTION_MEMBER(DropBoxDesc,m_iItem7IDOrValue,std::string("0")).Editor_SetAsRaw();

		GlobalClassManager::Instance().RegisterClass(DropBoxDesc::s_GetReflection(),eDefaultDef_DropBoxDesc);
		GlobalDefManager::Instance().RegisterDefManger(&DropBoxDescManager::Instance());

	}
}___DropBoxDescDefReflectionRegister;

rewrite  void DropBoxDesc::OnArchieveReaded()
{
}

void DropBoxDescManager::OnArchieveReaded()
{
	__DropBoxDescManager::OnArchieveReaded();
}